package com.gk.kafkaproduce.source;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;

/**
 *  创建自定义source
 */
public interface MySource {

    String OUTPUT = "myOutPut";

    @Output(OUTPUT)
    MessageChannel output();
}
